{{include file="common@layout/_meta_x-admin" /}}
<body>
{{:widget('common/Common/nav',[array('系统管理','配送管理')])}}
<div class="layui-fluid">
    <div class="layui-row layui-col-space15">
        <div class="layui-col-md12">
            <div class="layui-card">
                <div class="layui-card-header"><button class="layui-btn"><i class="layui-icon"></i>管理数据</button></div>
                <div class="layui-card-body layui-table-body layui-table-main">
                    <table class="layui-table layui-form">
                        <thead>
                            <tr>
                                <th onclick="clickTableTitle('recharge_price','{{$Think.get.orderType == \'desc\' ? \'asc\' : \'desc\' }}')" id="recharge_price">配送距离</th>
                                <th onclick="clickTableTitle('give_price','{{$Think.get.orderType == \'desc\' ? \'asc\' : \'desc\' }}')" id="give_price">配送费</th>
                            </tr>
                        </thead>
                        <tbody>
                        {{volist name="list" id="vo"}}
                        <tr>
                            <td>{{$vo.distance}}米</td>
                            <td>￥{{$vo.price}}元</td>
                        </tr>
                        {{/volist}}
                        </tbody>
                    </table>
                </div>
            </div>
        </div>
    </div>
</div>

<script>
    $(function () {
        $(".layui-btn").click(function () {
            layer.open({
                type:2,
                area:["700px","500px"],
                title:"管理数据",
                content:"edit",
                cancel:function () {
                    location.reload()
                }
            })
        })
    })
</script>
</body>
